AEPutKeyDesc
AERecord * theAERecord ; AE record to which to add a keyword- specified descriptor record
AEDesc * theAEDesc ; descriptor record converts them into a keyword-specified descriptor record that it adds to an
AE record.
The parameter theAERecord is the AE record to which to add the
keyword-specified descriptor record.
The parameter theAEKeyword is the keyword specifying the descriptor
record. If there was already a keyword-specified descriptor record with this
keyword, it is replaced.
The parameter theAEDesc is the descriptor record for the keyword- specified
descriptor record.
Result codes
noErr (0) No error
memFullErr (-108) Not enough room in heap zone
errAEWrongDataType (-1703) Wrong descriptor type
errAENotAEDesc (-1704) Not a valid descriptor record
errAEBadListItem (-1705) Operation involving a list item failed